package com.ybkj.daijia.server.zhuanxian.route;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 路线表
 * </p>
 *
 * @author xwy
 * @since 2019-12-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Route implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 起点
     */
    private String origin;

    /**
     * 起点id
     */
    private String originId;

    /**
     * 终点
     */
    private String destination;

    /**
     * 终点id
     */
    private String destinationId;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 所属公司id
     */
    private String companyId;

    private LocalDateTime created;

    private LocalDateTime updated;


}
